﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Drap演示</title>
    <script src="http://www.thylx.net/javascript/jquery.js" type="text/javascript"></script>
    <script src="drap.js" type="text/javascript"></script>
    <script>
        $(function () {
            $("#show").Drap({ DrapMove: "#title", IsLimit: true, Callback: function () {}});;
        });
    </script>
</head>
<body>
    <div id="show" style="position: absolute; width: 216px; height: 138px; background-color: skyblue;
        border: solid 1px blue;">
        <div id="title" style="background-color: Blue; height: 20px; color: #fff; font-size: 12px;
            padding-top: 5px; padding-left: 10px;">
            标题 <i id="close" style="float: right; margin-right: 10px">x</i></div>
        内容
    </div>
</body>
</html>
